package com.woniuxy.service.impl;

import com.woniuxy.dao.ServerMenuMapper;
import com.woniuxy.pojo.ServerMenu;
import com.woniuxy.service.ServerMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ServerMenuServiceImpl implements ServerMenuService {

    @Autowired
    private ServerMenuMapper serverMenuMapper;

    @Override
    public ServerMenu findById(Long serverMenuId) {
        return serverMenuMapper.selectByPrimaryKey(serverMenuId);
    }
}
